laravel download file from public folder

53

laravel download file from public folder -

$filePath = public_path("name_of_your_file.txt");
return Response::download($filePath);

Comments

Submit
0 Comments